package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * SendSmsReq 发送短信请求信息
 *
 * @author liulx
 * @date 2022/12/19 10:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询短信余额请求信息", description = "查询短信余额请求信息")
public class CheckSmsBalanceReq extends BaseReqObj {

    private static final long serialVersionUID = -706856472472808325L;

    @ApiModelProperty(value = "应用 id（短信账户）", notes = "应用 id（短信账户）", dataType = "String", required = true)
    @NotBlank(message = "应用 id（短信账户）不能为空")
    private String appId;

    @ApiModelProperty(value = "应用密钥（短信账户）", notes = "应用密钥（短信账户）", dataType = "String", required = true)
    @NotBlank(message = "应用密钥（短信账户）不能为空")
    private String appSecret;

    @ApiModelProperty(value = "业态（仅限综合管理平台使用）", notes = "业态（仅限综合管理平台使用）", dataType = "Integer")
    private Integer formatId;

}
